package com.atguigu.szdz.dcsyl.dao;

import com.atguigu.szdz.dcsyl.entity.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface YlDataDao {

    //批量插入数据
    void batchInsert(@Param("list") List<YlDataEntity> list);

    //批量插入岩性数据
    void batchInsertYx(@Param("list")List<YxDataEntity> list, @Param("wellId") Integer wellId);

    //批量插入分层数据
    void batchInsertFc(@Param("list")List<FcDataEntity> list, @Param("wellId") Integer wellId);

    //批量插入其他数据
    void batchInsertQt(@Param("list")List<QtDataEntity> list, @Param("wellId") Integer wellId);

    //批量插入wis数据
    void batchInsertWis(@Param("list")List<WisDataEntity> list, @Param("wellId") Integer wellId);

    //批量插入文本数据
    void batchInsertWb(@Param("list")List<WbDataEntity> list, @Param("wellId") Integer wellId);

    //批量插入压力数据
    void batchInsertYlDc(@Param("list")List<YlDataDc> list, @Param("wellId") Integer wellId);

    //查询所有的压力数据
    List<YlDataEntity> queryAllPressureData();
    //查询所有的dc_ylDataDc数据
    List<YlDataDc> queryAllDcData(@Param("wellId") Integer wellId);
}
